package com.ca.project.Server.Modules.RotatingChat.PO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @PACKAGE_NAME: com.film.city.Server.Common.Modules.RotatingChat.PO
 * @NAME: UploadRotatingChatPO
 * @USER: ASUS
 * @DATE: 26/4/2024
 * @TIME: 上午3:25
 **/
@Data
@ApiModel(value = "上传轮播图")
public class UploadRotatingChatPO implements Serializable {

    private static final long serialVersionUID = -7926607503963242471L;

    @ApiModelProperty(value = "文件实体", required = true)
    @NotNull(message = "文件实体不能为空")
    private MultipartFile file;
}
